package com.srxz.mobilepharmacy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigInteger;

/**
 * 药房
 */
@Entity
@Table(name="tb_pub_medhouse")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class MedHouse implements Serializable {
    @Id
    @EmbeddedId
    private MedHousePK id;
    @Column(name = "name")
    private String name;
    @Column(name = "attr")
    private String attr;
    @Column(name = "sk")
    private String sk;
    @Column(name = "act")
    private Integer act;
    @Column(name = "dis")
    private Integer dis;
    @Column(name = "up")
    private Integer up;
    @Column(name = "hospitalID")
    private BigInteger hospitalID;
}
